<template>
  <div>
    <van-search
      v-model="value"
      placeholder="请输入搜索关键词"
      input-align="center"
      background="#ccc"
      class="search"
    />
    <van-swipe class="my-swipe" :autoplay="1500" indicator-color="white">
      <van-swipe-item class="swipe1">&nbsp; </van-swipe-item>
      <van-swipe-item class="swipe2">&nbsp;</van-swipe-item>
      <van-swipe-item class="swipe3">&nbsp;</van-swipe-item>
    </van-swipe>
    <ul class="house">
      <li>整租</li>
      <li>合租</li>
      <li>地图找房</li>
      <li>去出租</li>
    </ul>
    <van-row type="flex" justify="space-between" class="utitle">
      <van-col span="6">租房小组</van-col>
      <van-col span="6" class="text">更多</van-col>
    </van-row>
  </div>
</template>

<script>
export default {}
</script>

<style scoped>
body {
  background-color: #ccc;
}
.utitle {
  margin-top: 15px;
  margin-left: 20px;
}
.text {
  font-size: 14px;
  color: #787d82;
}
.house {
  margin-top: 20px;
  display: flex;
  justify-content: space-around;
}
.house li {
  font-size: 12px;
  border-radius: 10%;
  text-align: center;
  line-height: 50px;
  width: 50px;
  height: 50px;
  background-color: skyblue;
  margin-left: 5px;
  list-style: none;
}
.my-swipe .van-swipe-item {
  color: #fff;
  font-size: 20px;
  line-height: 150px;
  text-align: center;
  background-color: #39a9ed;
  margin-top: 3px;
}
.search {
  margin-top: 20px;
}
.swipe1,
.swipe2,
.swipe3 {
  background-repeat: no-repeat;
  background-size: cover;
}
.swipe1 {
  background-image: url('@/assets/1.png');
}
.swipe2 {
  background-image: url('@/assets/2.png');
}
.swipe3 {
  background-image: url('@/assets/3.png');
}
</style>
